package com.ruoyi.web.controller.shop.service;

import com.ruoyi.common.entity.DO.order.OrderRefundDO;
import com.ruoyi.common.entity.VO.RefundVO;
import com.ruoyi.common.entity.wxpay.WxConfig;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface IBackShopOrderRefundService {

    Map<String, String> refund(RefundVO refundVO);

    Map<String, String> refresh(String refundSn, WxConfig wxConfig);

    List<OrderRefundDO> searchList(OrderRefundDO orderRefundDO);

    RefundVO getRefundInfo(String orderSn);

    void refundNotifyHandle(Map<String, String> notifyMap);

    String wxRefundNotifyHandle(HttpServletRequest request, String callBackClassName);
}
